Package com.orange.webcom.sdkv2

Exposes the main public API of the Webcom SDK.

Types

Webcom
Link copied to clipboard
object Webcom
Exposes some useful static methods or properties to start using the Webcom SDK.
WebcomAbstractService
Link copied to clipboard
abstract class WebcomAbstractService
Base class for the Webcom services such as AuthenticationService or DatasyncService.
WebcomApplication
Link copied to clipboard
class WebcomApplication(configuration: WebcomConfiguration)
Represents a Webcom application.
WebcomConfiguration
Link copied to clipboard
data class WebcomConfiguration @JvmOverloads() constructor(identifier: String, platform: URL?, offlineCache: String?, websocketProtocol: WebcomConfiguration.WebsocketProtocol, pingDelayMs: Int?, pongDelayMs: Int?)
Represents the settings of a WebcomApplication instance.
WebcomDoneCallback
Link copied to clipboard
typealias WebcomDoneCallback = (WebcomResult<Unit>) -> Unit

Shortcut type for callbacks that return nothing and that may fail.

WebcomResult
Link copied to clipboard
sealed class WebcomResult<out T>
Wraps the result of a computation of type T.
WebcomResultCallback
Link copied to clipboard
typealias WebcomResultCallback<T> = (WebcomResult<T>) -> Unit

Shortcut type for callbacks that return an object of a given type and that may fail.